package com.charmzenus.smallshop.repository;

import com.charmzenus.smallshop.bean.UserBean;
import com.charmzenus.smallshop.config.readWriteConfig.aspect.TargetDataSource;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface UserRepository extends JpaRepository<UserBean, Integer> {

//    @TargetDataSource(dataSource="readDataSources")

    UserBean findById(int id);

}
